package cn.edu.scau.cmi.ChenKaihui.abstractFactory.factory;

import cn.edu.scau.cmi.ChenKaihui.abstractFactory.domain.PICCAccidentInsurance;
import cn.edu.scau.cmi.ChenKaihui.abstractFactory.domain.PICCCasualtyInsurance;
import cn.edu.scau.cmi.ChenKaihui.abstractFactory.domain.PICCPhysicalInsurance;
import cn.edu.scau.cmi.ChenKaihui.abstractFactory.domain.PICCVehicleInsurance;
import cn.edu.scau.cmi.ChenKaihui.abstractFactory.domainAbstractClass.Insurance;

public class PICCFactory extends AbstractFactory {

	@Override
	public Insurance isAccidentInsurance() {
		return new PICCAccidentInsurance();
	}

	@Override
	public Insurance isCasualtyInsurance() {
		return new PICCCasualtyInsurance();
	}

	@Override
	public Insurance isPhysicalInsurance() {
		return new PICCPhysicalInsurance();
	}

	@Override
	public Insurance isVehicleInsurance() {
		return new PICCVehicleInsurance();
	}
	
}
